package de.kardass.jannobatch.errorwithcontinue;

import static org.junit.Assert.fail;
import de.kardass.jannobatch.ItemProcessor;

public class ErrorWithContinueStep2 implements ItemProcessor<ErrorWithContinueCounter, ErrorWithContinueCounter> {

	@Override
	public ErrorWithContinueCounter process(ErrorWithContinueCounter item) {
		fail("Never come to this point, as in " + ErrorWithContinueStep1.class + " an exception is thrown");
		return item;
	}

	@Override
	public void onShutDown() {
	}

	@Override
	public void onStartUp() {
	}

}
